//
//  IPHelper.h
//  edu24app
//
//  Created by BobO on 16/1/20.
//  Copyright © 2016年 edu24ol. All rights reserved.
//

#import <Foundation/Foundation.h>

//#define ipCheckUrl (@"http://ip.taobao.com/service/getIpInfo.php?ip=myip")

@interface IPHelper : NSObject

@property (nonatomic, strong, readonly) NSString* city;
@property (nonatomic, strong, readonly) NSString *isp;
@property (nonatomic, strong) NSString *ip;

+ (NSString *)getIPAddressForHostString:(NSString *) theHost;

+ (IPHelper *)shareInstance;

- (NSString *)queryIpInfo;

- (NSString *)ipInfo;

@end
